package com.kcwl.carrier.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcwl.ddd.domain.repository.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
@TableName("qualification_info")
public class QualificationInfoPO extends BasePO<QualificationInfoPO> {
    @ApiModelProperty(value = "主键id")
    @TableField("id")
    private Long id;

    @ApiModelProperty(value = "车主/司机id，根据biz_type定义赋值")
    @TableField("biz_id")
    private Long bizId;

    @ApiModelProperty(value = "资质类型，2-司机，3-车辆")
    @TableField("biz_type")
    private Integer bizType;

    @ApiModelProperty(value = "审核状态:未认证_1,认证通过_2,认证失败_3")
    @TableField("authentication_status")
    private Integer authenticationStatus;

    @ApiModelProperty(value = "驾驶证照")
    @TableField("driving_licence_pic")
    private String drivingLicencePic;

    @ApiModelProperty(value = "驾驶证号")
    @TableField("driving_licence_no")
    private String drivingLicenceNo;

    @ApiModelProperty(value = "驾驶证准驾车型")
    @TableField("allow_driving_model")
    private String allowDrivingModel;

    @ApiModelProperty(value = "驾驶证有效截止时间")
    @TableField("driver_license_end_time")
    private Date driverLicenseEndTime;

    @ApiModelProperty(value = "道路运输证图片")
    @TableField("road_trans_license_pic")
    private String roadTransLicensePic;

    @ApiModelProperty(value = "道路运输证号")
    @TableField("road_trans_certi_number")
    private String roadTransCertiNumber;

    @ApiModelProperty(value = "车牌号")
    @TableField("plate_number")
    private String plateNumber;

    @ApiModelProperty(value = "道路许可证有效开始时间")
    @TableField("period_start_date")
    private Date periodStartDate;

    @ApiModelProperty(value = "道路许可证过期时间")
    @TableField("period_end_date")
    private Date periodEndDate;

    @ApiModelProperty(value = "审核id")
    @TableField("authentication_person")
    private String authenticationPerson;

    @ApiModelProperty(value = "驳回原因")
    @TableField("reject_reason")
    private String rejectReason;

    @ApiModelProperty(value = "提交时间")
    @TableField("submit_time")
    private Date submitTime;

    @ApiModelProperty(value = "是否删除(0:未删除,1:已删除)")
    @TableField("is_del")
    private Integer isDel;

    @ApiModelProperty(value = "修改时间")
    @TableField("modify_time")
    private Date modifyTime;

    @ApiModelProperty(value = "客服备注")
    @TableField("authentication_remark")
    private String authenticationRemark;

    @ApiModelProperty(value = "历史备注")
    @TableField("history_remark")
    private String historyRemark;
}
